package com.geline.mybatisplus.mapper;

import java.io.Serializable;
import java.util.Collection;

@Deprecated
public interface CurdMapper {

    <T> boolean save(T entity);

    <T> boolean updateById(T entity);

    <T> boolean saveBatch(Collection<T> entityList);

    <T> T getById(Serializable id, Class<T> entityClass);

    <T> boolean removeById(Object id, Class<T> entityClass);

    <T> boolean removeByIds(Collection<?> ids, Class<T> entityClass);

}
